package cn.tedu.exam.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2022-01-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("device_info")
public class DeviceInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 设备名称
     */
    @TableField("device_name")
    private String deviceName;

    /**
     * 型号
     */
    @TableField("device_model")
    private String deviceModel;

    /**
     * 品牌
     */
    @TableField("brand")
    private String brand;

    /**
     * 类型
     */
    @TableField("type")
    private String type;

    /**
     * 状态 1-在库 2-出库
     */
    @TableField("status")
    private Integer status;

    /**
     * 设备所在地
     */
    @TableField("location")
    private String location;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


}
